package com.cheetah.start.module.monitor.domain;

import lombok.ToString;

/**
 * 磁盘信息
 *
 * @auther xjh
 * @create 2021/1/30
 **/
@ToString
public class Disk {
    /**
     * 盘符路径
     */
    private String dirName;

    /**
     * 盘符类型
     */
    private String sysTypeName;

    /**
     * 文件类型
     */
    private String typeName;

    /**
     * 总大小
     */
    private String total;

    private double totalGb;

    /**
     * 剩余大小
     */
    private String free;

    private double freeGb;

    /**
     * 已经使用量
     */
    private String used;

    /**
     * 资源的使用率
     */
    private double usage;

    public String getDirName() {
        return dirName;
    }

    public void setDirName(String dirName) {
        this.dirName = dirName;
    }

    public String getSysTypeName() {
        return sysTypeName;
    }

    public void setSysTypeName(String sysTypeName) {
        this.sysTypeName = sysTypeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getFree() {
        return free;
    }

    public void setFree(String free) {
        this.free = free;
    }

    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }

    public double getUsage() {
        return usage;
    }

    public void setUsage(double usage) {
        this.usage = usage;
    }

    public double getTotalGb() {
        return totalGb;
    }

    public void setTotalGb(double totalGb) {
        this.totalGb = totalGb;
    }

    public double getFreeGb() {
        return freeGb;
    }

    public void setFreeGb(double freeGb) {
        this.freeGb = freeGb;
    }
}
